<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div class="father">
  <div class="son">click me</div>
</div>
<script>
  var father = document.querySelector('.father');
  var son = document.querySelector('.son');

  father.addEventListener('click', function () {
    alert('father');
  }, true)
  son.addEventListener('click', function () {
    alert('son');
  }, true)

  father.addEventListener('click', function () {
    alert('father');
  })
  son.addEventListener('click', function () {
    alert('son');
  })
  document.addEventListener('click', function () {
    alert('document')
  })
</script>
</body>
</html>